/*
 * @Author: sxb
 * @Email: sxb@mail.com
 * @Date: 2020-06-01 15:46:10
 * @Descripttion: 
 */ 

import request from '@/utils/request'

export function apiGetFindHouseholdDataBydate(data) {
    if(data !== undefined && data !== null){
        data.page = data.page < 0 ? 0 : data.page - 1
    }
    return new Promise((resolve, reject) => {
        request.get('api/householdData/findHouseholdDataBydate',{params:data}).then(res => {
            resolve(res);
        }).catch(error => {
            reject(error)
        })
    })

}